﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="AssembleDetailAdd.aspx.cs" Inherits="ANTProductAssemble_ManageAssemble_AssembleDetailAdd"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript" src="../../js/JudgeInput.js"></script>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div style="text-align: center;">
                <br />
                <br />
                <div style="text-align: center; clear: both; height: 34px; width: 60%; margin: 0 auto;">
                    <table style="width: 100%; border: 1px solid black">
                        <tr>
                            <td>
                                产品类型：<asp:TextBox ID="TextBox4" runat="server" TabIndex="1"></asp:TextBox><asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4" ErrorMessage="*"
                                    ValidationGroup="VGroup1"></asp:RequiredFieldValidator>&nbsp;
                            </td>
                            <td>
                                MO：<asp:TextBox ID="TextBox5" runat="server" TabIndex="1"></asp:TextBox><asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox5" ErrorMessage="*"
                                    ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                    </table>
                </div>
                <div style="clear: both;">
                    <p align="center">
                        槽板序列号：<asp:TextBox ID="TextBox1" runat="server" TabIndex="1"></asp:TextBox><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" ErrorMessage="*"
                            ValidationGroup="VGroup1"></asp:RequiredFieldValidator>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="Button1" runat="server" Text="提  交" ValidationGroup="VGroup1" OnClick="Button1_Click"
                            TabIndex="2" />
                    </p>
                    <p align="center">
                        &nbsp;</p>
                </div>
                <div style="text-align: center; clear: both; height: 140px; width: 60%; border: 1px solid Black;
                    margin: 0 auto;">
                    <br />
                    <table style="width: 100%">
                        <tr>
                            <td>
                                批次序列号
                            </td>
                            <td>
                                物料类型
                            </td>
                            <td>
                                备注
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:TextBox ID="TextBox2" runat="server" TabIndex="3"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                                    ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox3" runat="server" TabIndex="4"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3"
                                    ErrorMessage="*" ValidationGroup="VGroup2"></asp:RequiredFieldValidator>
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox6" runat="server" TabIndex="4"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                    <br />
                    <asp:Button ID="Button2" runat="server" Text="添  加" OnClick="Button2_Click" TabIndex="5"
                        ValidationGroup="VGroup2" />
                </div>
                <div style="text-align: center; clear: both; width: 60%; border: 1px solid Black;
                    margin: 0 auto;">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%"
                        BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
                        CellSpacing="1" GridLines="None" OnRowDataBound="GridView1_RowDataBound" OnRowDeleting="GridView1_RowDeleting">
                        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
                        <Columns>
                            <asp:BoundField DataField="BatchID" HeaderText="批次序列号" />
                            <asp:BoundField DataField="StuffTypeID" HeaderText="物料类型" />
                            <asp:BoundField DataField="Remark" HeaderText="备注" />
                            <asp:CommandField HeaderText="选择" ShowDeleteButton="True" />
                        </Columns>
                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
                    </asp:GridView>
                    <br />
                    <br />
                </div>
                <br />
                <br />
                <div style="clear: both;">
                </div>
                <br />
                <br />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
